﻿<%@ Page Title="Home Page" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="GridViewLogoin._Default" %>

<asp:Content ID="BodyContent" ContentPlaceHolderID="MainContent" runat="server">

    <div class="jumbotron">
        <asp:GridView runat ="server" ID="gv1" AutoGenerateColumns ="false" OnRowEditing="Unnamed_RowEditing"
            OnRowUpdating="Unnamed_RowUpdating" OnRowDeleting="Unnamed_RowDeleting" OnRowCancelingEdit="Unnamed_RowCancelingEdit" OnSelectedIndexChanged="Unnamed1_SelectedIndexChanged"
            >
            <Columns>
                <asp:BoundField DataField="Id" HeaderText="编号" ReadOnly="true"/>
                <asp:BoundField DataField="StuName" HeaderText="姓名"/>
                <asp:BoundField DataField="StuNo" HeaderText="座号" />
                <asp:BoundField DataField="StuSex" HeaderText="性别"/>
                <asp:BoundField DataField="Remarks" HeaderText="备注"/>
                <asp:CommandField HeaderText="操作" ShowEditButton="true" ShowDeleteButton="true" ShowCancelButton="true"/>
            </Columns>
        </asp:GridView>
    </div>

</asp:Content>
